setHasTransientState

open fun setHasTransientState(@NonNull view: View, hasTransientState: Boolean)(source)

Deprecated

Call setHasTransientState directly.

Set whether this view is currently tracking transient state that the framework should attempt to preserve when possible.

Parameters

view

View tracking transient state

hasTransientState

true if this view has transient state